package cn.itcast.session;

import java.io.Serializable;

public class shop implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String name;
    private double price; // 新增价格属性

    public shop() {
    }

    public shop(String id, String name, double price) {
        this.id = id;
        this.name = name;
        this.price = price; // 初始化价格
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() { // 新增价格获取方法
        return price;
    }

    public void setPrice(double price) { // 新增价格设置方法
        this.price = price;
    }
}